package com.geovis.emergency.spd.entity.basic.pojo.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 基础管理模块-集成接口更新DTO
 * </p>
 *
 * @author 王响
 * @since 2022-03-12
 */
@Getter
@Setter
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "BasicThirdPartyInterfaceUpdateDTO对象", description = "基础管理模块-集成接口更新DTO")
public class BasicThirdPartyInterfaceUpdateDTO extends BasicThirdPartyInterfaceSaveDTO {

    @NotBlank(message = "主键id不能为空")
    @Length(max = 64, message = "主键id最长不能超过{64}个字符")
    @ApiModelProperty(value = "主键id",required = true)
    private String id;
}
